<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="buscador.aspx.cs" Inherits="admin_buscador" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contenido" Runat="Server">
    <form id="form1" runat="server">
    <table width="100%" align="center">
    <tr>
        <td>
            <img src="images/energy.jpg" / width="150">
        </td>
        <td align="center">
            <table>
            <tr>
                <td>Start Date:</td>
                <td>
                    <asp:TextBox ID="tb_startdate" runat="server"></asp:TextBox>
                </td>
                <td>End Date: </td>
                <td>
                    <asp:TextBox ID="tb_enddate" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Agent Name:</td>
                <td>
                    <asp:DropDownList ID="lb_agent" runat="server">
                    </asp:DropDownList>
                </td>
                <td colspan="2" align="center">
                    <asp:Button ID="bt_search" runat="server" Text="Search" 
                        onclick="bt_search_Click" />
                </td>
            </tr>
            </table>
        </td>
        <td>
            <table>
            <tr>
                <th>SALES</th>
                <th>Single</th>
                <th>Double</th>
                <th>Total</th>
            </tr>
            <tr>
                <tH>Today</th>
                <td><asp:Label ID="lb_tosimple" runat="server" Text="0"></asp:Label></td>
                <td><asp:Label ID="lb_todouble" runat="server" Text="0"></asp:Label></td>
                <td><asp:Label ID="lb_tototal" runat="server" Text="0"></asp:Label></td>
            </tr>
            <tr>
                <th>Week</th>
                <td><asp:Label ID="lb_wesimple" runat="server" Text="0"></asp:Label></td>
                <td><asp:Label ID="lb_wedouble" runat="server" Text="0"></asp:Label></td>
                <td><asp:Label ID="lb_wetotal" runat="server" Text="0"></asp:Label></td>
            </tr>
            <tr>
                <th>Total</tH>
                <td><asp:Label ID="lb_simpletotal" runat="server" Text="0"></asp:Label></td>
                <td><asp:Label ID="lb_dobletotal" runat="server" Text="0"></asp:Label></td>
                <td><asp:Label ID="grantotal" runat="server" Text="0"></asp:Label></td>
            </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td align="center" colspan="3">
            <asp:GridView ID="gvd" runat="server" onrowcommand="gvd_RowCommand" 
                AllowPaging="True" onpageindexchanging="gvd_PageIndexChanging" 
                onrowdatabound="gvd_RowDataBound" PageSize="100">
                <Columns>
                    <asp:ButtonField ButtonType="Button" CommandName="Edit" Text="Edit" />
                </Columns>
            </asp:GridView>
        </td>
    </tr>
    </table>
    </form>
</asp:Content>

